<dl class="n-box">
	<dt class="n-box-head">
		<b>用户列表</b>
	</dt>
	<dd class="n-box-body">
		
		<table class="n-table n-size-full n-sep-top">
			<tbody>
				
			<tr>
				<th>ID</th>
				<th>账号</th>
				<th>昵称</th>
				<th>手机</th>
				<th>生日</th>
				<th>性别</th>
				<th>职业</th>
				<th>注册时间</th>
				<th>上次登录时间</th>
				<th>操作</th>
			</tr>
			<?php foreach ($data as $userInfo):?>
			<tr>
				<td><?=$userInfo['id']?></td>
				<td><?=$userInfo['uname']?></td>
				<td><?=$userInfo['nickname']?></td>
				<td><?=$userInfo['phone']?></td>
				<td><?=date('Y-m-d', $userInfo['birthday'])?></td>
				<td><?=$userInfo['gender'] == 1 ? '男' : '女'?></td>
				<td><?=$userInfo['job']?></td>
				<td><?=date('Y-m-d', $userInfo['regtime'])?></td>
				<td><?=date('Y-m-d', $userInfo['lastLogin'])?></td>
				<td><?=n_ui(n_url('user', 'userDetail', ['ppid'=>$userInfo['id']]),"绑定公共号")?>
					<!-- &nbsp;<a href="">封锁</a-->
					</td>
			</tr>
			<?php endforeach;?>
			</tbody>
		
		</table>
		<div class="n-paging"><?=$data['paging']?></div>
	</dd>
</dl>